package com.lottery.game.controller.v2.user.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;



@Data
@ApiModel(value="UpdateUserPayPwdRequest", description="修改用户支付密码")
public class UpdateUserPayPwdRequest implements Serializable {

	private static final long serialVersionUID = 6653318876608961454L;

	@ApiModelProperty(value="userPayPwd", name="新支付密码",required = true)
	@Length(min=6,max=6,message = "密码长度为六位")
	private String userPayPwd;

	@ApiModelProperty(value="oldPayPwd", name="旧支付密码",required = true)
	private String oldPayPwd;

}
